package com.jn.mvvm2.service;

import com.jn.mvvm2.entity.News;

import io.reactivex.rxjava3.core.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface NewsService {

    @GET("fapigx/caijing/query")
    Observable<News> getData(@Query("key")String key);
}
